package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
public class FormalStudent {
    private Long id;

    private String name;

    private Employee salemen;

    private BigDecimal totalTuition;

    private BigDecimal prepaidTuition;

    private BigDecimal debt;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date entranceTime;

    private String schoolName;

    private String tel;

    private ClassRoom intentionClass;

    private DictionaryItem paymentType;

    private DictionaryItem customerType;

    private Integer status;

    private String qq;

    private Long source;

    private Integer age;

    private Boolean gender;

    private String email;

    private String major;

    private Long education;

    private String address;

    private Integer workYear;

    private Long foreignLangLevel;

    private Long intentionArea;

    private BigDecimal programTuition;

    private BigDecimal discountAmount;

    private BigDecimal otherDiscount;

    private BigDecimal otherExpense;

    private String discountExplain;

    private BigDecimal planTuition;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date finalPayment;

    private Boolean completePayment;

    private Boolean abandonStatus;

    private Long clientId;
}